package com.binhai.springboot.org.dao;

import com.binhai.springboot.org.bean.OrgBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface OrgBeanDao {

    int updateByPrimaryKeySelective(OrgBean record);


    OrgBean selectOrgBeanById(int id);

    void insertData(OrgBean bean);

    List<OrgBean> getAllData();

    List<OrgBean> selectData(String name);

    void deleteData(OrgBean bean);

    List<OrgBean> getAllTreeData();


}